.header{
    background-color: #009688;
    width: 100%;
    height: 60px;
}
.header .logo{
    width: 200px;
    height: 60px;
    float: left;
    text-align: center;
}
.header .logo a{
    font-size: 25px;
    color: #FFF;
    line-height: 60px;
}

.header .nav{
    float: left;
}
.mobile-icon{
    display: none;
}

/* 演示元素 */
.main{
    margin-top: 20px;
}
.demoBox{
    background-color: #009688;
    text-align: center;
    height: 100px;
    width: 100%;
    color: #FFF;
    font-size: 30px;
    line-height: 100px;
}
@media screen and (max-width: 1024px) {
    .header .logo{
        text-align: left;
        font-size: 10px;
        font-weight: bold;
    }
    .header .nav{
        display: none;
        width: 100%;
        position: absolute;
        z-index: 99;
        top: 61px; /* 如果需要缝隙，可将值调至61px */
        margin-left: -15px;
    }
    .layui-nav{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .header .nav li{
        width: 100%;
        text-align: center;
    }
    .mobile-icon{
        display: block;
        color: #FFF;
        font-size: 30px;
        float: right;
        margin-top: 15px;
    }
    .layui-nav .layui-this:after,
    .layui-nav-bar,
    .layui-nav-tree .layui-nav-itemed:after {
        height: 1px;
        background-color: #009688;
    }
}